<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>主页</title>
</head>
<body>
<h2>主页</h2>
{% for message in get_flashed_messages(category_filter='info') %}
    <span>{{ message }}</span>
{% endfor %}
<p>欢迎用户: {{ username }}</p>
</body>
</html>